package com.cell.pojo.DTO.user.loginaccount;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class resetEmailDTO implements Serializable {
    @NotNull(message = "账户id不能为空")
    private Long accountId;
    @Email(message = "邮箱格式错误")
    private String email;
}
